package com.qmth.gkwb.data.document;

import java.util.ArrayList;
import java.util.List;

import org.springframework.data.annotation.Id;

public class Spec {

	@Id
	private String objId;
	private Integer id;
	private String name;
	private double cost;
	
	private boolean isEnabled;
	
	private List<Direct> directs = new ArrayList<Direct>();
	
	

	public String getObjId() {
		return objId;
	}

	public void setObjId(String objId) {
		this.objId = objId;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean getIsEnabled() {
		return isEnabled;
	}

	public void setIsEnabled(boolean isEnabled) {
		this.isEnabled = isEnabled;
	}

	public List<Direct> getDirects() {
		return directs;
	}

	public void setDirects(List<Direct> directs) {
		this.directs = directs;
	}

	public double getCost() {
		return cost;
	}

	public void setCost(double cost) {
		this.cost = cost;
	}
	
	
}
